#ifndef UPDATETHREAD_H
#define UPDATETHREAD_H
#include <QThread>
#include <debuglog.h>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QNetworkAccessManager>
#include <QApplication>

class UpdateThread : public QThread
{
    Q_OBJECT
public:
    explicit UpdateThread(QObject *parent = 0);
protected:
    void run();
    void stop();
private:
    bool isRun;
    bool isFirst;
    DebugLog *log;
signals:
    void updateSignal();
};

#endif // UPDATETHREAD_H
